Skip to content

build in docker#162

Open
omursahin wants to merge 10 commits intodevelopfrom
docker-build
Open

build in docker#162
omursahin wants to merge 10 commits intodevelopfrom
docker-build

Conversation

@omursahin
Copy link
Collaborator

No description provided.

@omursahin omursahin requested a review from arcuri82 February 12, 2026 07:41
- ./dist:/dist
- ./jacoco:/jacoco
command: >
sh -c "cp /root/.m2/repository/org/evomaster/evomaster-client-java-instrumentation/5.0.3-SNAPSHOT/evomaster-client-java-instrumentation-5.0.3-SNAPSHOT.jar /dist/evomaster-agent.jar &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you will need to update scripts/version.py to handle this hardcoded 5.0.3-SNAPSHOT

@omursahin omursahin requested a review from arcuri82 March 5, 2026 14:09
@@ -0,0 +1,399 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is an extra feature we need here.
by default, nothing about EvoMaster should be built or required (only the JAR of the SUTs are built, with no agent and no EM drivers).
we can have an input option to build those as well (off by default)

echo "Tip: Use './scripts/dist-docker.sh <JDK> <TOOL>' for incremental builds"
echo " Example: ./scripts/dist-docker.sh 8 gradle"
exit 0
fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, we should remove this. should be no interactive when running the script. should alwasy override if dist already exist. this also makes things easier to run in other scripts (eg on CI)

@omursahin omursahin requested a review from arcuri82 March 9, 2026 19:30
@@ -0,0 +1,399 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this file can be now removed?

@omursahin omursahin requested a review from arcuri82 March 11, 2026 11:41
echo 'JDK 21 Maven build completed'

copy-additional-files:
copy-jacoco:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could still be called copy-additional-files as maybe in future there might be more to add

echo 'Additional files copied'"
echo 'Jacoco files copied'"

copy-evomaster-agent:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this includes as well the drivers. so maybe copy-evomaster-files?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, there is no need to use an additional service named copy-evomaster-files. I updated the logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants